package com.zxjbyte.yiyi.module.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zxjbyte.yiyi.framework.mybatis.mapper.BaseMapperX;
import com.zxjbyte.yiyi.module.system.domain.entity.DictItemPO;
import com.zxjbyte.yiyi.module.system.domain.param.dict.DictItemListParam;
import com.zxjbyte.yiyi.module.system.domain.vo.DictItemVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author zhangxingjia
 * @Date 2024/1/24 16:19
 * @Version: 1.0
 */
@Mapper
public interface DictItemMapper extends BaseMapperX<DictItemPO> {

    List<DictItemVO> listPageDictItems(IPage<?> page, @Param("p") DictItemListParam param);

    DictItemVO getDetailById(@Param("id") Long id);
}
